
<!DOCTYPE HTML>
<html lang="" >
    <head>
        <meta charset="UTF-8">
        <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
        <title>svg 之 path · GitBook</title>
        <meta http-equiv="X-UA-Compatible" content="IE=edge" />
        <meta name="description" content="">
        <meta name="generator" content="GitBook 3.2.3">
        
        
        
    
    <link rel="stylesheet" href="../gitbook/style.css">

    
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-highlight/website.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-search/search.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-fontsettings/website.css">
                
            
        

    

    
        
    
        
    
        
    
        
    
        
    
        
    

        
    
    
    <meta name="HandheldFriendly" content="true"/>
    <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <link rel="apple-touch-icon-precomposed" sizes="152x152" href="../gitbook/images/apple-touch-icon-precomposed-152.png">
    <link rel="shortcut icon" href="../gitbook/images/favicon.ico" type="image/x-icon">

    
    <link rel="next" href="../svg描边动画/svg描边动画.html" />
    
    
    <link rel="prev" href="../svg基本图形/svg基本图形.html" />
    

    </head>
    <body>
        
<div class="book">
    <div class="book-summary">
        
            
<div id="book-search-input" role="search">
    <input type="text" placeholder="Type to search" />
</div>

            
                <nav role="navigation">
                


<ul class="summary">
    
    

    

    
        
        
    
        <li class="chapter " data-level="1.1" data-path="../">
            
                <a href="../">
            
                    
                    简介
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2" data-path="../svg基础/svg基础.html">
            
                <a href="../svg基础/svg基础.html">
            
                    
                    svg 基础
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3" data-path="../svg基本图形/svg基本图形.html">
            
                <a href="../svg基本图形/svg基本图形.html">
            
                    
                    svg 基本图形
            
                </a>
            

            
        </li>
    
        <li class="chapter active" data-level="1.4" data-path="svg之path.html">
            
                <a href="svg之path.html">
            
                    
                    svg 之 path
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5" data-path="../svg描边动画/svg描边动画.html">
            
                <a href="../svg描边动画/svg描边动画.html">
            
                    
                    svg 描边动画
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.6" data-path="../svg之fill及fill-rule/svg之fill及fill-rule.html">
            
                <a href="../svg之fill及fill-rule/svg之fill及fill-rule.html">
            
                    
                    svg 之 fill 及 fill-rule
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.7" data-path="../svg之viewBox/svg之viewBox.html">
            
                <a href="../svg之viewBox/svg之viewBox.html">
            
                    
                    svg 之 viewBox
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.8" data-path="../svg分组与复用/svg分组与复用.html">
            
                <a href="../svg分组与复用/svg分组与复用.html">
            
                    
                    svg 分组与复用
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.9" data-path="../svg之marker/svg之marker.html">
            
                <a href="../svg之marker/svg之marker.html">
            
                    
                    svg 之 marker
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.10" data-path="../svg文本/svg文本.html">
            
                <a href="../svg文本/svg文本.html">
            
                    
                    svg 文本
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.11" data-path="../svg之pattern/svg之pattern.html">
            
                <a href="../svg之pattern/svg之pattern.html">
            
                    
                    svg 之 pattern
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.12" data-path="../svg之clipPath和mask/svg之clipPath和mask.html">
            
                <a href="../svg之clipPath和mask/svg之clipPath和mask.html">
            
                    
                    svg 之 clipPath 和 mask
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.13" data-path="../svg之filter/svg之filter.html">
            
                <a href="../svg之filter/svg之filter.html">
            
                    
                    svg 之 filter
            
                </a>
            

            
        </li>
    

    

    <li class="divider"></li>

    <li>
        <a href="https://www.gitbook.com" target="blank" class="gitbook-link">
            Published with GitBook
        </a>
    </li>
</ul>


                </nav>
            
        
    </div>

    <div class="book-body">
        
            <div class="body-inner">
                
                    

<div class="book-header" role="navigation">
    

    <!-- Title -->
    <h1>
        <i class="fa fa-circle-o-notch fa-spin"></i>
        <a href=".." >svg 之 path</a>
    </h1>
</div>




                    <div class="page-wrapper" tabindex="-1" role="main">
                        <div class="page-inner">
                            
<div id="book-search-results">
    <div class="search-noresults">
    
                                <section class="normal markdown-section">
                                
                                <h1 id="svg-&#x4E4B;-path">svg &#x4E4B; path</h1>
<p>path &#x5143;&#x7D20;&#x662F; SVG &#x91CD;&#x8981;&#x7EC4;&#x6210;&#x90E8;&#x5206;&#xFF0C;&#x53EF;&#x4EE5;&#x8BF4;&#x4E86;&#x89E3; path&#xFF0C;&#x57FA;&#x672C;&#x4E0A;&#x5C31;&#x638C;&#x63E1;&#x4E86; SVG&#x3002;&#x56E0;&#x4E3A;&#x57FA;&#x672C;&#x4E0A;&#x5927;&#x90E8;&#x5206;&#x56FE;&#x5F62;&#x90FD;&#x53EF;&#x4EE5;&#x7528; path &#x6765;&#x5B9E;&#x73B0;&#x3002;&#x636E;&#x4E86;&#x89E3;&#xFF1A;SVG &#x7684;&#x57FA;&#x672C;&#x56FE;&#x5F62;&#xFF0C;&#x5176;&#x5E95;&#x5C42;&#x4E5F;&#x662F;&#x7528; path &#x5143;&#x7D20;&#x6765;&#x5B9E;&#x73B0;&#x7684;&#x3002;&#x53E6;&#x5916;&#xFF0C;&#x638C;&#x63E1; path &#x8FD8;&#x53EF;&#x4EE5;&#x5B9E;&#x73B0;&#x70AB;&#x9177;&#x7684;&#x63CF;&#x8FB9;&#x52A8;&#x753B;&#x54E6;~~~ &#x60F3;&#x4E86;&#x89E3;&#x63CF;&#x8FB9;&#x52A8;&#x753B;&#x53EF;&#x4EE5;&#x53C2;&#x9605;&#x4E4B;&#x524D;&#x76F8;&#x5173;&#x6587;&#x7AE0; &#x1F600;&#x3002;</p>
<p>path &#x5143;&#x7D20;&#x901A;&#x8FC7;&#x5C5E;&#x6027; <strong>&quot;d&quot;</strong> &#x5B9A;&#x4E49;&#x5F62;&#x72B6;&#xFF0C;&#x5C5E;&#x6027; <strong>&quot;d&quot;</strong> &#x7684;&#x503C;&#x662F;&#x4E00;&#x4E2A; <strong>&#x201C;&#x547D;&#x4EE4; + &#x53C2;&#x6570;&#x201D;</strong> &#x7684;&#x5E8F;&#x5217;&#x3002;</p>
<table>
<thead>
<tr>
<th>&#x547D;&#x4EE4;</th>
<th>&#x53C2;&#x6570;</th>
<th>&#x8BF4;&#x660E;</th>
</tr>
</thead>
<tbody>
<tr>
<td>M (m)</td>
<td>x y</td>
<td><strong>&#x79FB;&#x52A8;&#x5230;&#xFF08;Move to&#xFF09;</strong> &#x8DEF;&#x5F84;&#x7684;&#x8D77;&#x59CB;&#x70B9;<code>&#xFF08;x, y&#xFF09;</code></td>
</tr>
<tr>
<td>L (l)</td>
<td>x y</td>
<td>&#x4ECE;&#x5F53;&#x524D;&#x70B9; <strong>&#x753B;&#x76F4;&#x7EBF;&#x5230;&#xFF08;Line to&#xFF09;</strong> &#x6307;&#x5B9A;&#x70B9;<code>&#xFF08;x, y&#xFF09;</code></td>
</tr>
<tr>
<td>H (h)</td>
<td>x</td>
<td>&#x4ECE;&#x5F53;&#x524D;&#x70B9; <strong>&#x753B;&#x6C34;&#x5E73;&#x76F4;&#x7EBF;&#x5230;&#xFF08;Horizontal line to&#xFF09;</strong> &#x6307;&#x5B9A;&#x7684; <code>x</code></td>
</tr>
<tr>
<td>V (v)</td>
<td>y</td>
<td>&#x4ECE;&#x5F53;&#x524D;&#x70B9; <strong>&#x753B;&#x6C34;&#x5E73;&#x76F4;&#x7EBF;&#x5230;&#xFF08;Vertical line to&#xFF09;</strong> &#x6307;&#x5B9A;&#x7684; <code>y</code></td>
</tr>
<tr>
<td>C (c)</td>
<td>x1 y1 x2 y2 x y</td>
<td>&#x4ECE;&#x5F53;&#x524D;&#x70B9; <strong>&#x753B;&#x8D1D;&#x585E;&#x5C14;&#x66F2;&#x7EBF;&#x5230;&#xFF08;Curve to&#xFF09;</strong> &#x6307;&#x5B9A;&#x70B9;&#x7684;<code>&#xFF08;x, y&#xFF09;</code>&#xFF0C;&#x5176;&#x4E2D;<code>&#xFF08;x1, y1&#xFF09;</code>&#xFF0C;<code>&#xFF08;x2, y2&#xFF09;</code> &#x4E3A;&#x63A7;&#x5236;&#x70B9;</td>
</tr>
<tr>
<td>S (s)</td>
<td>x2 y2 x y</td>
<td>&#x4ECE;&#x5F53;&#x524D;&#x70B9; <strong>&#x753B;&#x53CD;&#x5C04;&#x8D1D;&#x585E;&#x5C14;&#x66F2;&#x7EBF;&#x5230;&#xFF08;Smooth curve to&#xFF09;</strong> &#x6307;&#x5B9A;&#x70B9;&#x7684;<code>&#xFF08;x, y&#xFF09;</code>&#xFF0C;&#x5176;&#x4E2D;<code>&#xFF08;x2, y2&#xFF09;</code> &#x4E3A;&#x63A7;&#x5236;&#x70B9;</td>
</tr>
<tr>
<td>Q (q)</td>
<td>x1 y1 x y</td>
<td>&#x4ECE;&#x5F53;&#x524D;&#x70B9; <strong>&#x753B;&#x4E8C;&#x6B21;&#x8D1D;&#x585E;&#x5C14;&#x66F2;&#x7EBF;&#x5230;&#xFF08;Quadratic B&#xE9;zier curve to&#xFF09;</strong> &#x6307;&#x5B9A;&#x70B9;&#x7684;<code>&#xFF08;x, y&#xFF09;</code>&#xFF0C;&#x5176;&#x4E2D;<code>&#xFF08;x1, y1&#xFF09;</code> &#x4E3A;&#x63A7;&#x5236;&#x70B9;</td>
</tr>
<tr>
<td>T (t)</td>
<td>x y</td>
<td>&#x4ECE;&#x5F53;&#x524D;&#x70B9; <strong>&#x753B;&#x53CD;&#x5C04;&#x4E8C;&#x6B21;&#x8D1D;&#x585E;&#x5C14;&#x66F2;&#x7EBF;&#x5230;&#xFF08;Smooth Quadratic B&#xE9;zier curve to&#xFF09;</strong> &#x6307;&#x5B9A;&#x70B9;&#x7684;<code>&#xFF08;x, y&#xFF09;</code></td>
</tr>
<tr>
<td>A (a)</td>
<td>rx ry x-axis-rotation large-arc-flag sweep-flag x y</td>
<td>&#x4ECE;&#x5F53;&#x524D;&#x70B9; <strong>&#x753B;&#x4E2A;&#x692D;&#x5706;&#x5F62;&#x5230;&#xFF08;elliptical Arc&#xFF09;</strong> &#x6307;&#x5B9A;&#x70B9;&#x7684;<code>&#xFF08;x, y&#xFF09;</code>&#x3002;&#x5176;&#x4E2D;<code>&#xFF08;rx, ry&#xFF09;</code>&#x4E3A;&#x692D;&#x5706;&#x5F62;&#x7684; x &#x8F74;&#x53CA; y &#x8F74;&#x7684;&#x534A;&#x5F84;&#xFF0C;<code>x-axis-rotation</code> &#x662F;&#x5F27;&#x7EBF;&#x4E0E; x &#x8F74;&#x7684;&#x65CB;&#x8F6C;&#x89D2;&#x5EA6;&#xFF0C;<code>large-arc-flag=1</code> &#x6700;&#x5927;&#x89D2;&#x5EA6;&#x7684;&#x5F27;&#x7EBF;&#xFF0C;<code>large-arc-flag=0</code> &#x6700;&#x5C0F;&#x89D2;&#x5EA6;&#x7684;&#x5F27;&#x7EBF;&#xFF1B;<code>sweep-flag=1</code> &#x987A;&#x65F6;&#x9488;&#x65B9;&#x5411;&#xFF0C;<code>sweep-flag=0</code> &#x9006;&#x65F6;&#x9488;&#x65B9;&#x5411;</td>
</tr>
<tr>
<td>Z (z)</td>
<td></td>
<td><strong>&#x95ED;&#x5408;&#x8DEF;&#x5F84;(close path)</strong>&#xFF0C;&#x5C06;&#x5F53;&#x524D;&#x70B9;&#x4E0E;&#x7B2C;&#x4E00;&#x4E2A;&#x70B9;&#x8FDE;&#x63A5;&#x8D77;&#x6765;</td>
</tr>
</tbody>
</table>
<p><strong>&#x26A0;&#xFE0F; &#x5927;&#x5199;&#xFF08;M&#xFF09;&#x8868;&#x793A;&#x7EDD;&#x5BF9;&#x5B9A;&#x4F4D;&#xFF0C;&#x5C0F;&#x5199;&#xFF08;m&#xFF09;&#x8868;&#x793A;&#x76F8;&#x5BF9;&#x5B9A;&#x4F4D;&#x3002;</strong></p>
<h2 id="&#x547D;&#x4EE4;">&#x547D;&#x4EE4;</h2>
<ul>
<li><p>M / m
<code>M x y</code>&#xFF1A; &#x79FB;&#x52A8;&#x5230;&#x70B9;<code>&#xFF08;x, y&#xFF09;</code>&#x3002;&#x5373;&#x76F8;&#x5BF9;&#x4E8E;&#x5750;&#x6807;&#x539F;&#x70B9;&#x8FDB;&#x884C;&#x79FB;&#x52A8;</p>
<p><img src="imgs/m.svg" alt=""></p>
<p><code>m dx dy</code>&#xFF1A; &#x76F8;&#x5BF9;&#x4E8E;&#x5F53;&#x524D;&#x5750;&#x6807;&#x70B9;&#x79FB;&#x52A8; <code>(dx, dy)</code> &#x7684;&#x8DDD;&#x79BB;</p>
<p><img src="imgs/m-relative.svg" alt=""></p>
</li>
<li><p>L / l</p>
<p><code>L x y</code>&#xFF1A;&#x4ECE;&#x5F53;&#x524D;&#x70B9; <strong>&#x753B;&#x76F4;&#x7EBF;&#x5230;&#xFF08;Line to&#xFF09;</strong> &#x6307;&#x5B9A;&#x70B9;<code>&#xFF08;x, y&#xFF09;</code></p>
<p><img src="imgs/l.svg" alt=""></p>
<p><code>l dx dy</code>&#xFF1A;&#x76F8;&#x5BF9;&#x4E8E;&#x5F53;&#x524D;&#x70B9; <strong>&#x753B;&#x76F4;&#x7EBF;&#x5230;&#xFF08;Line to&#xFF09;</strong> <code>(dx dy)</code> &#x7684;&#x8DDD;&#x79BB;</p>
<p><img src="imgs/l-relative.svg" alt=""></p>
</li>
<li><p>H / h</p>
<p><code>H x</code>&#xFF1A;&#x4ECE;&#x5F53;&#x524D;&#x70B9; <strong>&#x753B;&#x6C34;&#x5E73;&#x76F4;&#x7EBF;&#x5230;&#xFF08;Horizontal line to&#xFF09;</strong> &#x6307;&#x5B9A;&#x7684; <code>x</code></p>
<p><img src="imgs/h.svg" alt=""></p>
<p><code>h dx</code>&#xFF1A;&#x76F8;&#x5BF9;&#x4E8E;&#x5F53;&#x524D;&#x70B9; <strong>&#x753B;&#x6C34;&#x5E73;&#x76F4;&#x7EBF;&#x5230;&#xFF08;Horizontal line to&#xFF09;</strong> <code>dx</code> &#x7684;&#x8DDD;&#x79BB;</p>
<p><img src="imgs/h-relative.svg" alt=""></p>
</li>
<li><p>V / v</p>
<p><code>V y</code>&#xFF1A;&#x4ECE;&#x5F53;&#x524D;&#x70B9; <strong>&#x753B;&#x6C34;&#x5E73;&#x76F4;&#x7EBF;&#x5230;&#xFF08;Vertical line to&#xFF09;</strong> &#x6307;&#x5B9A;&#x7684; <code>y</code></p>
<p><img src="imgs/v.svg" alt=""></p>
<p><code>v dy</code>&#xFF1A;&#x76F8;&#x5BF9;&#x4E8E;&#x5F53;&#x524D;&#x70B9; <strong>&#x753B;&#x6C34;&#x5E73;&#x76F4;&#x7EBF;&#x5230;&#xFF08;Vertical line to&#xFF09;</strong> <code>dy</code> &#x7684;&#x8DDD;&#x79BB;</p>
<p><img src="imgs/v-relative.svg" alt=""></p>
</li>
<li><p>C / c
<code>C x1, y1 x2, y2 x, y</code>&#xFF1A;&#x4ECE;&#x5F53;&#x524D;&#x70B9; <strong>&#x753B;&#x8D1D;&#x585E;&#x5C14;&#x66F2;&#x7EBF;&#x5230;&#xFF08;Curve to&#xFF09;</strong> &#x6307;&#x5B9A;&#x70B9;&#x7684;<code>&#xFF08;x, y&#xFF09;</code>&#xFF0C;&#x5176;&#x4E2D;<code>&#xFF08;x1, y1&#xFF09;</code>&#xFF0C;<code>&#xFF08;x2, y2&#xFF09;</code> &#x4E3A;&#x63A7;&#x5236;&#x70B9;</p>
<p><img src="imgs/c.svg" alt=""></p>
<p><code>c dx1, dy1 dx2, dy2 dx, dy</code>&#xFF1A;&#x76F8;&#x5BF9;&#x4E8E;&#x5F53;&#x524D;&#x70B9; <strong>&#x753B;&#x8D1D;&#x585E;&#x5C14;&#x66F2;&#x7EBF;&#x5230;&#xFF08;Curve to&#xFF09;</strong> <code>&#xFF08;dx, dy&#xFF09;</code> &#x7684;&#x8DDD;&#x79BB;&#xFF0C;&#x5176;&#x4E2D;<code>&#xFF08;dx1, dy1&#xFF09;</code>&#xFF0C;<code>&#xFF08;dx2, dy2&#xFF09;</code> &#x4E3A;&#x63A7;&#x5236;&#x70B9;&#x8DDD;&#x5F53;&#x524D;&#x70B9;&#x7684;&#x8DDD;&#x79BB;</p>
<p><img src="imgs/c-relative.svg" alt=""></p>
</li>
<li><p>S / s&#xFF08;&#x4E0E; C / c&#xFF09;&#x914D;&#x5408;&#x4F7F;&#x7528;</p>
<p><code>S x2, y2 x, y</code>&#xFF1A;&#x4ECE;&#x5F53;&#x524D;&#x70B9; <strong>&#x753B;&#x53CD;&#x5C04;&#x8D1D;&#x585E;&#x5C14;&#x66F2;&#x7EBF;&#x5230;&#xFF08;Smooth curve to&#xFF09;</strong> &#x6307;&#x5B9A;&#x70B9;&#x7684;<code>&#xFF08;x, y&#xFF09;</code>&#xFF0C;&#x5176;&#x4E2D;<code>&#xFF08;x2, y2&#xFF09;</code> &#x4E3A;&#x63A7;&#x5236;&#x70B9;</p>
<p><img src="imgs/s.svg" alt=""></p>
<p><code>s dx2, dy2 dx, dy</code>&#xFF1A;&#x76F8;&#x5BF9;&#x4E8E;&#x5F53;&#x524D;&#x70B9; <strong>&#x753B;&#x53CD;&#x5C04;&#x8D1D;&#x585E;&#x5C14;&#x66F2;&#x7EBF;&#x5230;&#xFF08;Smooth curve to&#xFF09;</strong> <code>&#xFF08;dx, dy&#xFF09;</code> &#x7684;&#x8DDD;&#x79BB;&#xFF0C;&#x5176;&#x4E2D;<code>&#xFF08;dx2, dy2&#xFF09;</code> &#x4E3A;&#x63A7;&#x5236;&#x70B9;&#x8DDD;&#x5F53;&#x524D;&#x70B9;&#x7684;&#x8DDD;&#x79BB;</p>
<p><img src="imgs/s-relative.svg" alt=""></p>
</li>
<li><p>Q / q</p>
<p><code>Q x1, y1 x, y</code>&#xFF1A;&#x4ECE;&#x5F53;&#x524D;&#x70B9; <strong>&#x753B;&#x4E8C;&#x6B21;&#x8D1D;&#x585E;&#x5C14;&#x66F2;&#x7EBF;&#x5230;&#xFF08;Quadratic B&#xE9;zier curve to&#xFF09;</strong> &#x6307;&#x5B9A;&#x70B9;&#x7684;<code>&#xFF08;x, y&#xFF09;</code>&#xFF0C;&#x5176;&#x4E2D;<code>&#xFF08;x1, y1&#xFF09;</code> &#x4E3A;&#x63A7;&#x5236;&#x70B9;</p>
<p><img src="imgs/q.svg" alt=""></p>
<p><code>q dx1, dy1 dx, dy</code>&#xFF1A;&#x76F8;&#x5BF9;&#x4E8E;&#x5F53;&#x524D;&#x70B9; <strong>&#x753B;&#x4E8C;&#x6B21;&#x8D1D;&#x585E;&#x5C14;&#x66F2;&#x7EBF;&#x5230;&#xFF08;Quadratic B&#xE9;zier curve to&#xFF09;</strong> <code>&#xFF08;dx, dy&#xFF09;</code> &#x7684;&#x8DDD;&#x79BB;&#xFF0C;&#x5176;&#x4E2D;<code>&#xFF08;dx1, dy1&#xFF09;</code> &#x4E3A;&#x63A7;&#x5236;&#x70B9;&#x8DDD;&#x5F53;&#x524D;&#x70B9;&#x7684;&#x8DDD;&#x79BB;</p>
<p><img src="imgs/q-relative.svg" alt=""></p>
</li>
<li><p>T / t&#xFF08;&#x4E0E; Q / q&#xFF09;&#x914D;&#x5408;&#x4F7F;&#x7528;</p>
<p><code>T x y</code>&#xFF1A;&#x4ECE;&#x5F53;&#x524D;&#x70B9; <strong>&#x753B;&#x53CD;&#x5C04;&#x4E8C;&#x6B21;&#x8D1D;&#x585E;&#x5C14;&#x66F2;&#x7EBF;&#x5230;&#xFF08;Smooth Quadratic B&#xE9;zier curve to&#xFF09;</strong> &#x6307;&#x5B9A;&#x70B9;&#x7684;<code>&#xFF08;x, y&#xFF09;</code></p>
<p><img src="imgs/t.svg" alt=""></p>
<p><code>t dx dy</code>&#xFF1A;&#x76F8;&#x5BF9;&#x4E8E;&#x5F53;&#x524D;&#x70B9; <strong>&#x753B;&#x53CD;&#x5C04;&#x4E8C;&#x6B21;&#x8D1D;&#x585E;&#x5C14;&#x66F2;&#x7EBF;&#x5230;&#xFF08;Smooth Quadratic B&#xE9;zier curve to&#xFF09;</strong> <code>&#xFF08;dx, dy&#xFF09;</code> &#x7684;&#x8DDD;&#x79BB;</p>
<p><img src="imgs/t-relative.svg" alt=""></p>
</li>
<li><p>A / a
<code>A (a) rx ry x-axis-rotation large-arc-flag sweep-flag x y</code> &#x547D;&#x4EE4;&#x662F; <code>d</code> &#x6240;&#x6709;&#x547D;&#x4EE4;&#x4E2D;&#x6700;&#x590D;&#x6742;&#x7684;&#x3002;&#x4E3A;&#x4E86;&#x597D;&#x7406;&#x89E3;&#xFF0C;&#x8FD9;&#x91CC;&#x5BF9;&#x53C2;&#x6570;&#x5206;&#x5F00;&#x8BB2;&#x89E3;&#x3002;</p>
<ul>
<li><p>rx ry
<code>rx</code>&#x4E3A;&#x692D;&#x5706;&#x5F27;&#x7684; x &#x8F74;&#x534A;&#x5F84;&#xFF0C;<code>ry</code> &#x4E3A;&#x692D;&#x5706;&#x7684; y &#x8F74;&#x534A;&#x5F84;&#x3002;&#x5F53; <code>rx</code> &#x5C0F;&#x4E8E;&#x5F53;&#x524D;&#x70B9;&#x8DDD;&#x7EC8;&#x70B9;<code>x y</code>&#x7684;&#x8DDD;&#x79BB; <code>s</code> &#x65F6;&#xFF0C;&#x5219; <code>rx</code> &#x4E0E; <code>ry</code> &#x4F1A;&#x6309; <code>s</code> &#x8FDB;&#x884C;&#x6362;&#x7B97;&#x3002;&#x53CD;&#x4E4B;&#x5219;&#x76F4;&#x63A5;&#x4F7F;&#x7528;<code>rx</code> &#x4E0E; <code>ry</code>&#x3002;</p>
<p><img src="imgs/a-1.svg" alt=""></p>
<p><img src="imgs/a-1-1.svg" alt=""></p>
<p>&#x4ECE;&#x4E0A;&#x56FE;&#x53EF;&#x77E5;&#xFF0C;<code>rx</code> &#x53D6;&#x503C;&#x4E3A; <code>Max(s, rx)</code>&#x3002;&#x5982;&#x679C; <code>rx</code> &#x6CA1;&#x6709;&#x6839;&#x636E; <code>s</code> &#x6362;&#x7B97;&#xFF0C;&#x5219; <code>ry</code> &#x76F4;&#x63A5;&#x4F7F;&#x7528;&#xFF0C;&#x5426;&#x5219;&#x6309;&#x4E0E; <code>rx</code> &#x6BD4;&#x4F8B;&#x5173;&#x7CFB;&#x8FDB;&#x884C;&#x6362;&#x7B97;&#x3002;&#x4E0A;&#x8FF0;&#x7ED3;&#x8BBA;&#x662F;&#x57FA;&#x4E8E; <code>x-axis-rotation: 0</code> &#x5F97;&#x51FA;&#x7684;&#x3002;</p>
</li>
<li><p>x-axis-rotation
<code>x-axis-rotation</code>&#x8868;&#x793A;&#x5F27;&#x7EBF;&#x4E0E; x &#x8F74;&#x7684;&#x5939;&#x89D2;</p>
<p><img src="imgs/a-2.svg" alt=""></p>
<p>&#x4ECE;&#x56FE;&#x53EF;&#x77E5;&#x5939;&#x89D2;&#x53EF;&#x4EE5;&#x53D6;&#x8D1F;&#x503C;&#x3002;&#x5F53;&#x503C;&#x5C0F;&#x4E8E; 0 &#x65F6;&#x65B9;&#x5411;&#x4E0E;&#x76F8;&#x7B49;&#x7684;&#x6B63;&#x503C;&#x76F8;&#x53CD;&#x3002;</p>
</li>
<li><p>large-arc-flag &#x4E0E; sweep-flag
<code>large-arc-flag=1</code> &#x4E3A;&#x6700;&#x5927;&#x89D2;&#x5EA6;&#x7684;&#x5F27;&#x7EBF;&#xFF0C;<code>large-arc-flag=0</code> &#x4E3A;&#x6700;&#x5C0F;&#x89D2;&#x5EA6;&#x7684;&#x5F27;&#x7EBF;&#xFF1B;<code>sweep-flag=1</code> &#x8868;&#x793A;&#x987A;&#x65F6;&#x9488;&#x65B9;&#x5411;&#xFF0C;&#x5219;<code>sweep-flag=0</code> &#x8868;&#x793A;&#x9006;&#x65F6;&#x9488;&#x65B9;&#x5411;&#x3002;</p>
<p><img src="imgs/a-3.svg" alt=""></p>
</li>
<li><p>Z / z</p>
<p><code>Z(z)</code>&#xFF1A;<strong>&#x95ED;&#x5408;&#x8DEF;&#x5F84;(close path)</strong>&#xFF0C;&#x5C06;&#x5F53;&#x524D;&#x70B9;&#x4E0E;&#x7B2C;&#x4E00;&#x4E2A;&#x70B9;&#x8FDE;&#x63A5;&#x8D77;&#x6765;&#x3002;</p>
<p><img src="imgs/z.svg" alt=""></p>
<p>&#x26A0;&#xFE0F;&#x5927;&#x5C0F;&#x5199;&#x4F5C;&#x7528;&#x4E00;&#x6837;&#x2757;&#xFE0F;</p>
</li>
</ul>
</li>
</ul>

                                
                                </section>
                            
    </div>
    <div class="search-results">
        <div class="has-results">
            
            <h1 class="search-results-title"><span class='search-results-count'></span> results matching "<span class='search-query'></span>"</h1>
            <ul class="search-results-list"></ul>
            
        </div>
        <div class="no-results">
            
            <h1 class="search-results-title">No results matching "<span class='search-query'></span>"</h1>
            
        </div>
    </div>
</div>

                        </div>
                    </div>
                
            </div>

            
                
                <a href="../svg基本图形/svg基本图形.html" class="navigation navigation-prev " aria-label="Previous page: svg 基本图形">
                    <i class="fa fa-angle-left"></i>
                </a>
                
                
                <a href="../svg描边动画/svg描边动画.html" class="navigation navigation-next " aria-label="Next page: svg 描边动画">
                    <i class="fa fa-angle-right"></i>
                </a>
                
            
        
    </div>

    <script>
        var gitbook = gitbook || [];
        gitbook.push(function() {
            gitbook.page.hasChanged({"page":{"title":"svg 之 path","level":"1.4","depth":1,"next":{"title":"svg 描边动画","level":"1.5","depth":1,"path":"svg描边动画/svg描边动画.md","ref":"./svg描边动画/svg描边动画.md","articles":[]},"previous":{"title":"svg 基本图形","level":"1.3","depth":1,"path":"svg基本图形/svg基本图形.md","ref":"./svg基本图形/svg基本图形.md","articles":[]},"dir":"ltr"},"config":{"gitbook":"*","theme":"default","variables":{},"plugins":["livereload"],"pluginsConfig":{"livereload":{},"highlight":{},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"fontsettings":{"theme":"white","family":"sans","size":2},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"}},"file":{"path":"svg之path/svg之path.md","mtime":"2019-09-27T08:44:24.851Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2019-10-21T06:03:10.264Z"},"basePath":"..","book":{"language":""}});
        });
    </script>
</div>

        
    <script src="../gitbook/gitbook.js"></script>
    <script src="../gitbook/theme.js"></script>
    
        
        <script src="../gitbook/gitbook-plugin-livereload/plugin.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-search/search-engine.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-search/search.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-lunr/lunr.min.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-lunr/search-lunr.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-sharing/buttons.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-fontsettings/fontsettings.js"></script>
        
    

    </body>
</html>

